For Problems 1-6